package com.crm.dao.mapper.sendRoyaltyManager;

import com.crm.model.entity.sendRoyaltyManager.OrderSendRoyalty;
import com.crm.model.entity.sendRoyaltyManager.OrderSendRoyaltyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderSendRoyaltyMapper {
    long countByExample(OrderSendRoyaltyExample example);

    int deleteByExample(OrderSendRoyaltyExample example);

    int deleteByPrimaryKey(String chsOrderSendRoyaltyId);

    int insert(OrderSendRoyalty record);

    int insertSelective(OrderSendRoyalty record);

    List<OrderSendRoyalty> selectByExample(OrderSendRoyaltyExample example);

    OrderSendRoyalty selectByPrimaryKey(String chsOrderSendRoyaltyId);

    int updateByExampleSelective(@Param("record") OrderSendRoyalty record, @Param("example") OrderSendRoyaltyExample example);

    int updateByExample(@Param("record") OrderSendRoyalty record, @Param("example") OrderSendRoyaltyExample example);

    int updateByPrimaryKeySelective(OrderSendRoyalty record);

    int updateByPrimaryKey(OrderSendRoyalty record);
}